package global.com.loansapplication.ui.actviity.login.module;


import dagger.Module;
import dagger.Provides;
import global.com.loansapplication.ui.actviity.login.biz.CheckBiz;
import global.com.loansapplication.ui.actviity.login.contract.CheckContract;

/**
 * Created by xuweihua on 16/8/31.
 */
@Module
public class CheckModule {
    private CheckContract.View view;

    public CheckModule(CheckContract.View view) {
        this.view = view;
    }

    @Provides
    public CheckContract.View provideView() {
        return view;
    }

    @Provides
    public CheckBiz provideBiz() {
        return new CheckBiz();
    }
}